/*
 * @(#)LogEventTable.java   1.0  2021年11月8日
 * 
 * Copyright (c)	2014-2020. All Rights Reserved.	GuangZhou hhmk Technology Company LTD.
 */
package com.swift.dts.dao.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 添加说明
 * 
 * @author zhengjiajin
 * @version 1.0 2021年11月8日
 */
@Entity
@Table(name="swift_dts_log_event_table")
public class LogEventTable {

    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name="sql_id")
    private Long sqlId;

    @Column(name="create_time")
    private Date createTime;

    @Column(name="sql_key")
    private String sqlKey;
    
    @Column(name="sql_str")
    private String sqlStr;
    
    //0开始1结束
    @Column(name="state")
    private Integer state;
    
    @Column(name="update_time")
    private Date updateTime;

    /**
     * @return the sqlId
     */
    public Long getSqlId() {
        return sqlId;
    }

    /**
     * @param sqlId
     *            the sqlId to set
     */
    public void setSqlId(Long sqlId) {
        this.sqlId = sqlId;
    }

    /**
     * @return the createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     *            the createTime to set
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return the sqlKey
     */
    public String getSqlKey() {
        return sqlKey;
    }

    /**
     * @param sqlKey
     *            the sqlKey to set
     */
    public void setSqlKey(String sqlKey) {
        this.sqlKey = sqlKey;
    }

    /**
     * @return the sqlStr
     */
    public String getSqlStr() {
        return sqlStr;
    }

    /**
     * @param sqlStr
     *            the sqlStr to set
     */
    public void setSqlStr(String sqlStr) {
        this.sqlStr = sqlStr;
    }

    /**
     * @return the state
     */
    public Integer getState() {
        return state;
    }

    /**
     * @param state
     *            the state to set
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * @return the updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     *            the updateTime to set
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}
